﻿<%@ Page Title="宝贝成长-成长物语" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Monogatari.aspx.cs" Inherits="Baby.GrowUp.Web.Monogatari" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="css/img.css" rel="stylesheet" />
    <script src="js/img.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#Monogatari').addClass('action');
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <section class="col-md-12 content home">
        <div class="title">
            <h2 class="wuyu">成长物语</h2>
        </div>
        <div class="col-lg-8 col-md-8 content-item background flexbox">
            <ul class="monogatariList">
                <asp:Repeater runat="server" ID="rList">
                    <ItemTemplate>
                        <li>
                            <span class="Article"><a href="/Article.aspx?id=<%#Eval("A_Id") %>"><%#Eval("A_Title") %></a></span>
                            <span class="date"><%#Eval("A_CreateDate", "{0:yyyy-MM-dd}") %></span>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <div class="col-lg-4 col-md-4 content-item background flexbox">
            <asp:Repeater runat="server" ID="rAlbumList">
                <ItemTemplate>
                    <a href="javascrpt:showAlbum('<%#Eval("A_Id") %>')">
                        <div class="thumbnail thumbnail2">
                            <img src="upload/<%#Eval("A_CoverPath") %>" />
                            <div class="caption">
                                <h3><%#Eval("A_Title") %></h3>
                                <p><%#Eval("A_Detail") %></p>
                                <p><%#Eval("A_CreateDate", "{0:yyyy-MM-dd}") %></p>
                            </div>
                        </div>
                    </a>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </section>
</asp:Content>
